<!DOCTYPE html>

<html style="display: table;">
  <body>
    <div style="float: left; border: 1px solid blue;">float</div>
    <div style="position: absolute; border: 1px solid red;">absolute</div>
  </body>
</html>
